package com.credit.service;

import java.util.List;

import com.credit.common.ServerResponse;
import com.credit.pojo.administrative;
import com.credit.pojo.branch;
import com.credit.pojo.brand;
import com.credit.pojo.copyright;
import com.credit.pojo.creditLoan;
import com.credit.pojo.enterpriseHonor;
import com.credit.pojo.enterpriseInformation;
import com.credit.pojo.framework;
import com.credit.pojo.historic;
import com.credit.pojo.job;
import com.credit.pojo.judicial;
import com.credit.pojo.managementSystem;
import com.credit.pojo.patent;
import com.credit.pojo.patentType;
import com.credit.pojo.publicWelfare;
import com.credit.pojo.seniorExecutive;
import com.credit.pojo.shareholder;
import com.credit.pojo.violationOperation;

public interface IPublicCreditService {

	
	//客户企业信息
	ServerResponse insertEnterpriseInformation(enterpriseInformation record);
	
	ServerResponse selectEnterpriseInformation(Integer id);
	
	ServerResponse updateEnterpriseInformation(enterpriseInformation record);
	 
	
	//股东信息
	ServerResponse insertShareholder(shareholder record);
	
	ServerResponse selectShareholder(Integer id);
	
	ServerResponse updateShareholder(shareholder record);
	
	ServerResponse deleteShareholder(Integer id);
	
	
	//历史变更
	ServerResponse insertHistoric(historic record);
	
	ServerResponse selectHistoric(Integer id);
	
	ServerResponse updateHistoric(historic record);
	
	ServerResponse deleteHistoric(Integer id);
	
	
	//分支机构
	ServerResponse insertBranch(branch record);

	ServerResponse selectBranch(Integer id);

	ServerResponse updateBranch(branch record);
	
	ServerResponse deleteBranch(Integer id);
	
	
	
	//组织机构
	ServerResponse insertFramework(framework record);

	ServerResponse selectFramework(Integer id);

	ServerResponse updateFramework(framework record);
	
	
	
	//管理制度
	ServerResponse insertManagementSystem(managementSystem record);

	ServerResponse selectManagementSystem(Integer id);

	ServerResponse updateManagementSystem(managementSystem record);
	
	ServerResponse deleteManagementSystem(Integer id);
	
	
	
	//高管信息
	ServerResponse insertSeniorExecutive(seniorExecutive record);

	ServerResponse selectSeniorExecutive(Integer id);

	ServerResponse updateSeniorExecutive(seniorExecutive record);
	
	ServerResponse deleteSeniorExecutive(Integer id);
	
	
	//从业人员
	ServerResponse insertJob(job record);

	ServerResponse selectJob(Integer id);

	ServerResponse updateJob(job record);
	
	
	
	//注册商标
	ServerResponse insertBrand(brand record);

	ServerResponse selectBrand(Integer id);

	ServerResponse updateBrand(brand record);
	    
	ServerResponse deleteBrand(Integer id);
	 
	
	
	//专利分类
	ServerResponse insertPatentType(patentType record);

	ServerResponse selectPatentType(Integer id);

	ServerResponse updatePatentType(patentType record);
	
	ServerResponse deletePatentType(Integer id);
    
    
    
    //专利
	ServerResponse deletePatent(Integer id);

	ServerResponse insertPatent(patent record);

	ServerResponse selectPatent(Integer id);

	ServerResponse updatePatent(patent record);
	
	
	
	
	//行政监管
	ServerResponse deleteAdministrative(Integer id);
	
	ServerResponse insertAdministrative(administrative record);

	ServerResponse selectAdministrative(Integer id);

	ServerResponse updateAdministrative(administrative record);
	
	
	
	
	//司法监管
	ServerResponse deleteJudicial(Integer id);

    ServerResponse insertJudicial(judicial record);

    ServerResponse selectJudicial(Integer id);

    ServerResponse updateJudicial(judicial record);
	
    
    
    
    //招标投标活动中的违法及处罚
    ServerResponse deleteViolationOperation(Integer id);

    ServerResponse insertViolationOperation(violationOperation record);

    ServerResponse selectViolationOperation(Integer id);

    ServerResponse updateViolationOperation(violationOperation record);
    
    
    
    //信贷记录
    ServerResponse deleteCreditLoan(Integer id);

    ServerResponse insertCreditLoan(creditLoan record);

    ServerResponse selectCreditLoan(Integer id);

    ServerResponse updateCreditLoan(creditLoan record);
    
    
    
    //软件著作权
    ServerResponse deleteCopyright(Integer id);

    ServerResponse insertCopyright(copyright record);

    ServerResponse selectCopyright(Integer id);

    ServerResponse updateCopyright(copyright record);
    
    
    
    //企业荣誉
    ServerResponse deleteEnterpriseHonor(Integer id);

    ServerResponse insertEnterpriseHonor(enterpriseHonor record);

    ServerResponse selectEnterpriseHonor(Integer id);

    ServerResponse updateEnterpriseHonor(enterpriseHonor record);
    
    
    //社会公益
    ServerResponse deletePublicWelfare(Integer id);

    ServerResponse insertPublicWelfare(publicWelfare record);

    ServerResponse selectPublicWelfare(Integer id);

    ServerResponse updatePublicWelfare(publicWelfare record);


}
